import 'dart:io';

import 'package:image_picker/image_picker.dart';
///


  /// 封装选择照片相机
   File getCameraPhoto(ImageSource source){
     File image = ImagePicker.pickImage(source: source) as File;
     if(image == null){
       return null;
     }
     return image;
   }
